﻿using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms.Design;
using System.Xml.Serialization;

namespace Landpy.CruiseControlNet.FacadeInterface.ConfigurationModule
{
    public class Assembly : IPrimaryKey
    {
        [Browsable(false)]
        [XmlIgnore]
        public Guid Id { get; private set; }

        [Category("Basic")]
        [Description("The assembly path.")]
        [XmlText]
        [Editor(typeof(FileNameEditor), typeof(UITypeEditor))]
        public string Text { get; set; }

        public Assembly()
        {
            this.Id = Guid.NewGuid();
        }
    }
}